@charset "UTF-8";

@import "vars", "campus", "breadcrumb", "app-fix", "exam-utils";

.file-uploader {
    > div {
        position: relative;
    }
    input[type="file"] {
        position: absolute;
        left: 0;
        top: 0;
        max-width: 148px;
        max-height: 30px;
        opacity: 0;
    }
}

.file-uploader-btn {
    position: relative;
    input[type="file"] {
        position: absolute;
        display: block;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
    }
}

.back-title {
    padding: 0;
    > button {
        width: 67px;
        height: 67px;
    }
    > button, h1 {
        //float: left;
        display: inline-block;
    }
    h1 {
        line-height: 35px;
    }

}

.text-error {
    font-size: 10px;
    color: #ff0000;
}

.input-group {
    & + div[ng-messages] {
        padding-left: 40px;
    }
}

table.overflow-table {
    table-layout: fixed;

    tbody {
        tr {

            &:hover {
                td {
                    word-break: break-all;
                    white-space: normal;
                }
            }

            td {

                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
            }
        }

    }
}

#paper-view {
    h1, h3 {
        text-align: center;
    }
    .dto {
        margin: 0 60px;
        .question {
            margin-left: 30px;
            .q-body, .q-option {
                display: flex;
                flex-direction: row;
                justify-content: flex-start;
                align-items: flex-start;
            }
            .q-option {
                margin-left: 20px;
                margin-bottom: 10px;
                div[ng-bind-html] {
                    p {
                        display: inline
                    }
                }
            }
            .q-answer {
                margin-left: 20px;
            }
            //> div {
            //    margin-bottom: 20px;
            //    > p {
            //        margin: 0 0 20px 0;
            //
            //        &:not(:first-child) {
            //            margin-left: 30px;
            //        }
            //
            //        &:last-child {
            //            margin-top: 20px;
            //        }
            //
            //
            //        > span[ng-bind-html] {
            //            p {
            //                margin: 0;
            //            }
            //        }
            //
            //        &.row-p {
            //            display: flex;
            //            flex-direction: row;
            //            justify-content: flex-start;
            //            align-items: center;
            //            > span {
            //                display: block;
            //            }
            //        }
            //    }
            //}
        }
    }
}

.fill_blank_input {
    background: transparent;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid #CCCCCC;
}